group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 170. 76.5 Grey
2 2 167. 94.4 Grey
3 3 167. 83.0 Brown
4 4 175. 80.3 Blue
5 5 179. 58.4 Blue
6 6 185. 81.2 Brown
7 7 167. 77.6 Green
8 8 171. 74.0 Grey
9 9 169. 89.0 Brown
10 10 177. 103. Blue
# ℹ 990 more rows